package com.fuxue.service;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fuxue.controller.server.QuestionController;
import com.fuxue.dto.*;
import com.fuxue.entity.Server;
import com.fuxue.result.PageResult;
import com.fuxue.vo.*;

import java.util.List;

public interface QuestionService {

    List<QuestionAndColumVO> getSomeQuestion(Integer id);

    PageResult pageQuery(QuestionPageShowDTO questionPageShowDTO);

    QuestionDetialsVO getQuestionDetials(Integer id);

    PageResult pageFinishedQuery(QuestionPageShowDTO questionPageShowDTO);

    void setAnswer(WriteQuestionDTO writeQuestionDTO);

    void InsertQuestion(WriteDTO writeDTO);

    FiledVO GetFiled();

    List<QuestionUserFirsetVO> getUserQuestion(Integer id);

    List<QuestionUserFirsetVO> likeSelect(QuestonTorCDTO questonTorCDTO);

    PageResult pageUserFinishedQuery(UserQuestionPageShowDTO userQuestionPageShowDTO);

    ALLDetialsVO getALLDetials(Integer id);

    void giveUp(HelpTunDTO helpTunDTO) throws JsonProcessingException;
}
